package com.neusoft.neuiotms.dcom.repository.problem;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcom.model.problem.ProblemRegistrationAttachment;

public interface ProblemRegistrationAttachmentRepository extends JpaRepository<ProblemRegistrationAttachment, Long> {

    List<ProblemRegistrationAttachment> findByFsId(String fsId);

    List<ProblemRegistrationAttachment> findByFsIdIn(List<String> fsIds);

    List<ProblemRegistrationAttachment> findByProblemRegistrationId(Long id);

    void deleteByFsId(String fsId);
}
